<template>
  <router-view />
</template>

<script setup>
const debounce = (fn, delay) => {
  let timer = null;
  return function () {
    let context = this;
    let args = arguments;
    clearTimeout(timer);
    timer = setTimeout(function () {
      fn.apply(context, args);
    }, delay);
  };
};

const _ResizeObserver = window.ResizeObserver;
window.ResizeObserver = class ResizeObserver extends _ResizeObserver {
  constructor(callback) {
    callback = debounce(callback, 16);
    super(callback);
  }
};
</script>


<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

@font-face {
  font-family: "iconfont"; /* Project id 4674256 */
  src: url("//at.alicdn.com/t/c/font_4674256_kpkhtpem2ca.woff2?t=1725441512520")
      format("woff2"),
    url("//at.alicdn.com/t/c/font_4674256_kpkhtpem2ca.woff?t=1725441512520")
      format("woff"),
    url("//at.alicdn.com/t/c/font_4674256_kpkhtpem2ca.ttf?t=1725441512520")
      format("truetype");
}

@font-face {
  font-family: "iconfont"; /* Project id 4674256 */
  src: url("//at.alicdn.com/t/c/font_4674256_gidujszhzxi.woff2?t=1725441736726")
      format("woff2"),
    url("//at.alicdn.com/t/c/font_4674256_gidujszhzxi.woff?t=1725441736726")
      format("woff"),
    url("//at.alicdn.com/t/c/font_4674256_gidujszhzxi.ttf?t=1725441736726")
      format("truetype");
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-diantileimu:before {
  content: "\e600";
}

.icon-jiazheng:before {
  content: "\e681";
}

.icon-yonghu:before {
  content: "\e60c";
}

.icon-kuaididaishou:before {
  content: "\e637";
}

.icon-hongbao:before {
  content: "\e602";
}

.icon-zihangche3:before {
  content: "\e6d6";
}

.icon-zhenxuan:before {
  content: "\ebc6";
}

.icon-xiaomao:before {
  content: "\e636";
}
</style>
